<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Aria: ArActionStallRecover Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aria
   &#160;<span id="projectnumber">2.9.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classArActionStallRecover.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classArActionStallRecover-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ArActionStallRecover Class Reference<div class="ingroups"><a class="el" href="group__ActionClasses.html">Predefined ArAction Classes</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Action to recover from a stall.  
 <a href="classArActionStallRecover.html#details">More...</a></p>

<p><code>#include &lt;ArActionStallRecover.h&gt;</code></p>

<p>Inherits <a class="el" href="classArAction.html">ArAction</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abda3ab5128c6bbf87aa071c62c7c76a2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abda3ab5128c6bbf87aa071c62c7c76a2"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>activate</b> (void)</td></tr>
<tr class="separator:abda3ab5128c6bbf87aa071c62c7c76a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b8af84b92d5102dd90922c019af094a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b8af84b92d5102dd90922c019af094a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addToConfig</b> (<a class="el" href="classArConfig.html">ArConfig</a> *config, const char *sectionName, <a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3">ArPriority::Priority</a> priority=<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a11a1e48113dade987dbbc50383e13210">ArPriority::NORMAL</a>)</td></tr>
<tr class="separator:a4b8af84b92d5102dd90922c019af094a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad557c66045527426b193c433bfbe5215"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArActionStallRecover.html#ad557c66045527426b193c433bfbe5215">ArActionStallRecover</a> (const char *name=&quot;stall recover&quot;, double obstacleDistance=225, int cyclesToMove=50, double speed=150, double degreesToTurn=45, bool enabled=true)</td></tr>
<tr class="memdesc:ad557c66045527426b193c433bfbe5215"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#ad557c66045527426b193c433bfbe5215">More...</a><br /></td></tr>
<tr class="separator:ad557c66045527426b193c433bfbe5215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b60112cfa0e4358d451c2fe62d1db55"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b60112cfa0e4358d451c2fe62d1db55"></a>
virtual <a class="el" href="classArActionDesired.html">ArActionDesired</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>fire</b> (<a class="el" href="classArActionDesired.html">ArActionDesired</a> currentDesired)</td></tr>
<tr class="separator:a0b60112cfa0e4358d451c2fe62d1db55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9f0b3ef7a671efb56173bbb15cdc87e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9f0b3ef7a671efb56173bbb15cdc87e"></a>
virtual <a class="el" href="classArActionDesired.html">ArActionDesired</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getDesired</b> (void)</td></tr>
<tr class="separator:ad9f0b3ef7a671efb56173bbb15cdc87e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44040a73e3f98835592b68a6f452fc01"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44040a73e3f98835592b68a6f452fc01"></a>
virtual const <a class="el" href="classArActionDesired.html">ArActionDesired</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getDesired</b> (void) const </td></tr>
<tr class="separator:a44040a73e3f98835592b68a6f452fc01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab78548506683e33d86bcb567ff133993"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab78548506683e33d86bcb567ff133993"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArActionStallRecover.html#ab78548506683e33d86bcb567ff133993">~ArActionStallRecover</a> ()</td></tr>
<tr class="memdesc:ab78548506683e33d86bcb567ff133993"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:ab78548506683e33d86bcb567ff133993"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classArAction"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classArAction')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classArAction.html">ArAction</a></td></tr>
<tr class="memitem:a4341cda2464899c839e370b514af929b inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4341cda2464899c839e370b514af929b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a4341cda2464899c839e370b514af929b">ArAction</a> (const char *name, const char *description=&quot;&quot;)</td></tr>
<tr class="memdesc:a4341cda2464899c839e370b514af929b inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a4341cda2464899c839e370b514af929b inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeca3135308234a8224643541090bea2b inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeca3135308234a8224643541090bea2b"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#aeca3135308234a8224643541090bea2b">deactivate</a> (void)</td></tr>
<tr class="memdesc:aeca3135308234a8224643541090bea2b inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deactivate the action. <br /></td></tr>
<tr class="separator:aeca3135308234a8224643541090bea2b inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf64e5031c86d059500b93f402aa70d9 inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classArArg.html">ArArg</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#adf64e5031c86d059500b93f402aa70d9">getArg</a> (int number) const </td></tr>
<tr class="memdesc:adf64e5031c86d059500b93f402aa70d9 inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the numbered argument.  <a href="#adf64e5031c86d059500b93f402aa70d9">More...</a><br /></td></tr>
<tr class="separator:adf64e5031c86d059500b93f402aa70d9 inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6620d41b1e490476796696e8a70e7544 inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6620d41b1e490476796696e8a70e7544"></a>
virtual <a class="el" href="classArArg.html">ArArg</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a6620d41b1e490476796696e8a70e7544">getArg</a> (int number)</td></tr>
<tr class="memdesc:a6620d41b1e490476796696e8a70e7544 inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the numbered argument. <br /></td></tr>
<tr class="separator:a6620d41b1e490476796696e8a70e7544 inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a19edfe254b794aa2dddb163d095905 inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a19edfe254b794aa2dddb163d095905"></a>
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a5a19edfe254b794aa2dddb163d095905">getDescription</a> (void) const </td></tr>
<tr class="memdesc:a5a19edfe254b794aa2dddb163d095905 inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the long description of the action. <br /></td></tr>
<tr class="separator:a5a19edfe254b794aa2dddb163d095905 inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77fd754d342d7662090f462e27971e08 inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77fd754d342d7662090f462e27971e08"></a>
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a77fd754d342d7662090f462e27971e08">getName</a> (void) const </td></tr>
<tr class="memdesc:a77fd754d342d7662090f462e27971e08 inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the name of the action. <br /></td></tr>
<tr class="separator:a77fd754d342d7662090f462e27971e08 inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a512f3a727095b1240f30558d32fe0f5b inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a512f3a727095b1240f30558d32fe0f5b"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a512f3a727095b1240f30558d32fe0f5b">getNumArgs</a> (void) const </td></tr>
<tr class="memdesc:a512f3a727095b1240f30558d32fe0f5b inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the number of arguments this action takes. <br /></td></tr>
<tr class="separator:a512f3a727095b1240f30558d32fe0f5b inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae62a517795a31625bf3a2bb2ea8abac0 inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae62a517795a31625bf3a2bb2ea8abac0"></a>
<a class="el" href="classArRobot.html">ArRobot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#ae62a517795a31625bf3a2bb2ea8abac0">getRobot</a> () const </td></tr>
<tr class="memdesc:ae62a517795a31625bf3a2bb2ea8abac0 inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the robot we are controlling, which was set by <a class="el" href="classArAction.html#a51b27da0403d43cd916cbf49ba7ddc23" title="Sets the robot this action is driving. ">setRobot()</a> <br /></td></tr>
<tr class="separator:ae62a517795a31625bf3a2bb2ea8abac0 inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72db278f558206fdec03cbc15ac72104 inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72db278f558206fdec03cbc15ac72104"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a72db278f558206fdec03cbc15ac72104">isActive</a> (void) const </td></tr>
<tr class="memdesc:a72db278f558206fdec03cbc15ac72104 inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the action is active or not. <br /></td></tr>
<tr class="separator:a72db278f558206fdec03cbc15ac72104 inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e1aaaf9de9b50f7732043a3772f53d7 inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e1aaaf9de9b50f7732043a3772f53d7"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a5e1aaaf9de9b50f7732043a3772f53d7">log</a> (bool verbose=true) const </td></tr>
<tr class="memdesc:a5e1aaaf9de9b50f7732043a3772f53d7 inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Log information about this action using <a class="el" href="classArLog.html" title="Logging utility class. ">ArLog</a>. <br /></td></tr>
<tr class="separator:a5e1aaaf9de9b50f7732043a3772f53d7 inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51b27da0403d43cd916cbf49ba7ddc23 inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a51b27da0403d43cd916cbf49ba7ddc23">setRobot</a> (<a class="el" href="classArRobot.html">ArRobot</a> *robot)</td></tr>
<tr class="memdesc:a51b27da0403d43cd916cbf49ba7ddc23 inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the robot this action is driving.  <a href="#a51b27da0403d43cd916cbf49ba7ddc23">More...</a><br /></td></tr>
<tr class="separator:a51b27da0403d43cd916cbf49ba7ddc23 inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05bc460d965589515a007f136a03d15a inherit pub_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05bc460d965589515a007f136a03d15a"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a05bc460d965589515a007f136a03d15a">~ArAction</a> ()</td></tr>
<tr class="memdesc:a05bc460d965589515a007f136a03d15a inherit pub_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desructor. <br /></td></tr>
<tr class="separator:a05bc460d965589515a007f136a03d15a inherit pub_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:aaee8529f205da0f5399c5a75a23d4294"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaee8529f205da0f5399c5a75a23d4294"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>State</b> { <b>STATE_NOTHING</b> = 0, 
<b>STATE_GOING</b>
 }</td></tr>
<tr class="separator:aaee8529f205da0f5399c5a75a23d4294"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a961898714f13a6d9e286d540c4cbe426"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a961898714f13a6d9e286d540c4cbe426"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>What</b> { <br />
&#160;&#160;<b>BACK</b> =0x1, 
<b>FORWARD</b> =0x2, 
<b>TURN</b> =0x4, 
<b>TURN_LEFT</b> =0x8, 
<br />
&#160;&#160;<b>TURN_RIGHT</b> =0x10, 
<b>MOVEMASK</b> = BACK | FORWARD, 
<b>TURNMASK</b> = TURN | TURN_LEFT | TURN_RIGHT
<br />
 }</td></tr>
<tr class="separator:a961898714f13a6d9e286d540c4cbe426"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a50d159fd006318e7225306cf4734b160"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50d159fd006318e7225306cf4734b160"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addSequence</b> (int sequence)</td></tr>
<tr class="separator:a50d159fd006318e7225306cf4734b160"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0756f7d6cf2df800c2ab4226ee266d02"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0756f7d6cf2df800c2ab4226ee266d02"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>doit</b> (void)</td></tr>
<tr class="separator:a0756f7d6cf2df800c2ab4226ee266d02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classArAction"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classArAction')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classArAction.html">ArAction</a></td></tr>
<tr class="memitem:ad6e1c757a5232752a9b05b18e8ef5091 inherit pro_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad6e1c757a5232752a9b05b18e8ef5091"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#ad6e1c757a5232752a9b05b18e8ef5091">setNextArgument</a> (<a class="el" href="classArArg.html">ArArg</a> const &amp;arg)</td></tr>
<tr class="memdesc:ad6e1c757a5232752a9b05b18e8ef5091 inherit pro_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the argument type for the next argument (must only be used in a constructor!) <br /></td></tr>
<tr class="separator:ad6e1c757a5232752a9b05b18e8ef5091 inherit pro_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ad7f0deeda91eebd79d51247fc933d977"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7f0deeda91eebd79d51247fc933d977"></a>
<a class="el" href="classArActionDesired.html">ArActionDesired</a>&#160;</td><td class="memItemRight" valign="bottom"><b>myActionDesired</b></td></tr>
<tr class="separator:ad7f0deeda91eebd79d51247fc933d977"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cef7be760b1cb7b6d64b9839510b22b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1cef7be760b1cb7b6d64b9839510b22b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myCount</b></td></tr>
<tr class="separator:a1cef7be760b1cb7b6d64b9839510b22b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1de486fda09f61d45d72048240a48411"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1de486fda09f61d45d72048240a48411"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myCyclesToMove</b></td></tr>
<tr class="separator:a1de486fda09f61d45d72048240a48411"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae593879b0ac70bf396e8218909e128f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae593879b0ac70bf396e8218909e128f4"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myCyclesToTurn</b></td></tr>
<tr class="separator:ae593879b0ac70bf396e8218909e128f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bd07c73d79d5490840d74c720233605"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8bd07c73d79d5490840d74c720233605"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>myDegreesToTurn</b></td></tr>
<tr class="separator:a8bd07c73d79d5490840d74c720233605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36d21d54c0a72b57fc4030ad68360f81"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36d21d54c0a72b57fc4030ad68360f81"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>myDesiredHeading</b></td></tr>
<tr class="separator:a36d21d54c0a72b57fc4030ad68360f81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95101d736c3b2e3a78df1d34bca02bfe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95101d736c3b2e3a78df1d34bca02bfe"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myDoing</b></td></tr>
<tr class="separator:a95101d736c3b2e3a78df1d34bca02bfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31b17aa3556f523d99ca770acf0b8164"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31b17aa3556f523d99ca770acf0b8164"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>myEnabled</b></td></tr>
<tr class="separator:a31b17aa3556f523d99ca770acf0b8164"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09756aace35867559fa777b1f4a90b48"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a09756aace35867559fa777b1f4a90b48"></a>
time_t&#160;</td><td class="memItemRight" valign="bottom"><b>myLastFired</b></td></tr>
<tr class="separator:a09756aace35867559fa777b1f4a90b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e35d54c583e31bc127a901091c88699"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e35d54c583e31bc127a901091c88699"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>myObstacleDistance</b></td></tr>
<tr class="separator:a7e35d54c583e31bc127a901091c88699"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85375e97c41d5d6de01a05b0dd416e70"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85375e97c41d5d6de01a05b0dd416e70"></a>
<a class="el" href="classArResolver.html">ArResolver</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>myResolver</b></td></tr>
<tr class="separator:a85375e97c41d5d6de01a05b0dd416e70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac172c3fb3373c224d05feac4dc43aaae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac172c3fb3373c224d05feac4dc43aaae"></a>
std::map&lt; int, int &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mySequence</b></td></tr>
<tr class="separator:ac172c3fb3373c224d05feac4dc43aaae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15e7f00154663c758b8b60da3c2d85ad"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15e7f00154663c758b8b60da3c2d85ad"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mySequenceNum</b></td></tr>
<tr class="separator:a15e7f00154663c758b8b60da3c2d85ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab34f3a2e1fd719a78964474ffce536c6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab34f3a2e1fd719a78964474ffce536c6"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mySequencePos</b></td></tr>
<tr class="separator:ab34f3a2e1fd719a78964474ffce536c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70e7182202c22528aefe3b6651b2d729"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70e7182202c22528aefe3b6651b2d729"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mySideStalled</b></td></tr>
<tr class="separator:a70e7182202c22528aefe3b6651b2d729"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a473d89d44ce7527201898a8977f5e66e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a473d89d44ce7527201898a8977f5e66e"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>mySpeed</b></td></tr>
<tr class="separator:a473d89d44ce7527201898a8977f5e66e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb359521841ec80929929a5b255d18fd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb359521841ec80929929a5b255d18fd"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myState</b></td></tr>
<tr class="separator:abb359521841ec80929929a5b255d18fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classArAction"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classArAction')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classArAction.html">ArAction</a></td></tr>
<tr class="memitem:a70d443457e6f0b80b434530c7d987b3f inherit pro_attribs_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70d443457e6f0b80b434530c7d987b3f"></a>
std::map&lt; int, <a class="el" href="classArArg.html">ArArg</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>myArgumentMap</b></td></tr>
<tr class="separator:a70d443457e6f0b80b434530c7d987b3f inherit pro_attribs_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ca1ce8c5a89ee6f0c4ee79d2f534984 inherit pro_attribs_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3ca1ce8c5a89ee6f0c4ee79d2f534984"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>myDescription</b></td></tr>
<tr class="separator:a3ca1ce8c5a89ee6f0c4ee79d2f534984 inherit pro_attribs_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af20f687ef5e108741edc2a5848700271 inherit pro_attribs_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af20f687ef5e108741edc2a5848700271"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>myIsActive</b></td></tr>
<tr class="separator:af20f687ef5e108741edc2a5848700271 inherit pro_attribs_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0ebdaed2cabe36c51e9b995406fdb1d inherit pro_attribs_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0ebdaed2cabe36c51e9b995406fdb1d"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>myName</b></td></tr>
<tr class="separator:ad0ebdaed2cabe36c51e9b995406fdb1d inherit pro_attribs_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20f29d8774f45e3508211c39e2afb9ce inherit pro_attribs_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20f29d8774f45e3508211c39e2afb9ce"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myNumArgs</b></td></tr>
<tr class="separator:a20f29d8774f45e3508211c39e2afb9ce inherit pro_attribs_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a265851e04729e51a2a72d1ab4f1c5ed8 inherit pro_attribs_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a265851e04729e51a2a72d1ab4f1c5ed8"></a>
<a class="el" href="classArRobot.html">ArRobot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a265851e04729e51a2a72d1ab4f1c5ed8">myRobot</a></td></tr>
<tr class="memdesc:a265851e04729e51a2a72d1ab4f1c5ed8 inherit pro_attribs_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">The robot we are controlling, set by the action resolver using <a class="el" href="classArAction.html#a51b27da0403d43cd916cbf49ba7ddc23" title="Sets the robot this action is driving. ">setRobot()</a> <br /></td></tr>
<tr class="separator:a265851e04729e51a2a72d1ab4f1c5ed8 inherit pro_attribs_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classArAction"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classArAction')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classArAction.html">ArAction</a></td></tr>
<tr class="memitem:aceff6f8ad785ab52a79c6d847ed0ea61 inherit pub_static_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aceff6f8ad785ab52a79c6d847ed0ea61"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#aceff6f8ad785ab52a79c6d847ed0ea61">getDefaultActivationState</a> (void)</td></tr>
<tr class="memdesc:aceff6f8ad785ab52a79c6d847ed0ea61 inherit pub_static_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the default activation state for all ArActions. <br /></td></tr>
<tr class="separator:aceff6f8ad785ab52a79c6d847ed0ea61 inherit pub_static_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3543892f92fbbfa9bb3f9e0b0d199f51 inherit pub_static_methods_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3543892f92fbbfa9bb3f9e0b0d199f51"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArAction.html#a3543892f92fbbfa9bb3f9e0b0d199f51">setDefaultActivationState</a> (bool defaultActivationState)</td></tr>
<tr class="memdesc:a3543892f92fbbfa9bb3f9e0b0d199f51 inherit pub_static_methods_classArAction"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the default activation state for all ArActions. <br /></td></tr>
<tr class="separator:a3543892f92fbbfa9bb3f9e0b0d199f51 inherit pub_static_methods_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_classArAction"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_classArAction')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="classArAction.html">ArAction</a></td></tr>
<tr class="memitem:a5335a29c1c08e3fa97228635b38986fe inherit pro_static_attribs_classArAction"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5335a29c1c08e3fa97228635b38986fe"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>ourDefaultActivationState</b> = true</td></tr>
<tr class="separator:a5335a29c1c08e3fa97228635b38986fe inherit pro_static_attribs_classArAction"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Action to recover from a stall. </p>
<p>This action tries to recover if one of the wheels has stalled, it has a series of actions it tries in order to get out of the stall. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="actionExample_8cpp-example.html#_a22">actionExample.cpp</a>, <a class="el" href="actionGroupExample_8cpp-example.html#_a22">actionGroupExample.cpp</a>, <a class="el" href="twoRobotWander_8cpp-example.html#_a10">twoRobotWander.cpp</a>, and <a class="el" href="wander_8cpp-example.html#_a24">wander.cpp</a>.</dd>
</dl></div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad557c66045527426b193c433bfbe5215"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ArActionStallRecover::ArActionStallRecover </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;stall&#160;recover&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>obstacleDistance</em> = <code>225</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cyclesToMove</em> = <code>50</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>speed</em> = <code>150</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>degreesToTurn</em> = <code>45</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>name of the action </td></tr>
    <tr><td class="paramname">obstacleDistance</td><td>distance at which not to move because of obstacle. (mm) </td></tr>
    <tr><td class="paramname">cyclesToMove</td><td>default number of cycles to move (# of cycles) (may be changed via <a class="el" href="classArConfig.html" title="Stores configuration information which may be read to and from files or other sources. ">ArConfig</a>) </td></tr>
    <tr><td class="paramname">speed</td><td>default speed at which to back up or go forward (mm/sec) (may be changed via <a class="el" href="classArConfig.html" title="Stores configuration information which may be read to and from files or other sources. ">ArConfig</a>) </td></tr>
    <tr><td class="paramname">degreesToTurn</td><td>default number of degrees to turn (deg) (may be changed vi <a class="el" href="classArConfig.html" title="Stores configuration information which may be read to and from files or other sources. ">ArConfig</a>) </td></tr>
    <tr><td class="paramname">enabled</td><td>default value of "enabled" state configuration parameter (may be changed via <a class="el" href="classArConfig.html" title="Stores configuration information which may be read to and from files or other sources. ">ArConfig</a>) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>ArActionStallRecover.h</li>
<li>ArActionStallRecover.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classArActionStallRecover.html">ArActionStallRecover</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
